package com.itheima.service;

import com.itheima.dao.CommentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CommentService {
    @Autowired
    private CommentMapper evaluateMapper;

    public int add(Integer iid, Integer uid, String content) {
        return evaluateMapper.add(iid, uid, content);
    }
}
